string.AddId(int)

Here are the examples of the csharp api class string.AddId(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

1. Example

View license
private static FieldMetaData GetDataMember()
    {
      return new FieldMetaData() { ProcessValueName = "ProcessValueName".AddId(DataMemberId), SymbolicName = "SymbolicName".AddId(DataMemberId), TypeInformation = new UATypeInfo(BuiltInType.String) };
    }

2. Example

View license
private static MessageHandlerConfiguration GetMessageReaderConfiguration()
    {
      return new MessageReaderConfiguration()
      {
        ConsumerAssociationConfigurations = new ConsumerAssociationConfiguration[] { new ConsumerAssociationConfiguration() { AssociationName = "Associations".AddId(AssociationId), DataSetWriterId = UInt16.MaxValue, PublisherId = Guid.NewGuid() } },
        Configuration = new MessageChannelConfiguration() { ChannelConfiguration = "4840,True,239.255.255.1,True" },
        Name = "Name".AddId(MessageTransportId),
        TransportRole = AssociationRole.Consumer
      };
    }

3. Example

View license
internal static DataSetConfiguration GetAssociationConfiguration()
    {
      return new DataSetConfiguration()
      {
        AssociationName = "Alias".AddId(AssociationId),
        AssociationRole = AssociationRole.Consumer,
        DataSet = GetMembers(),
        DataSymbolicName = "DataSymbolicName".AddId(AssociationId),
        Id = Guid.NewGuid(),
        RepositoryGroup = "RepositoryGroup".AddId(DataMemberId),
        InformationModelURI = "http://www.commsvr.com".AddId(AssociationId)
      };
    }