public void Initialize(ObjectId objectId)
        {
            MigrationEndpointId migrationEndpointId = objectId as MigrationEndpointId;

            if (migrationEndpointId == null)
            {
                throw new ArgumentException("Only MigrationEndpointId is supported.", "objectId");
            }
            this.MigrationEndpointId = migrationEndpointId;
            this.RawIdentity         = this.MigrationEndpointId.ToString();
        }
Beispiel #2
0
 public Identity(MigrationEndpointId id) : this(id.Id, id.ToString())
 {
 }
 public MigrationEndpointIdParameter(MigrationEndpointId id)
 {
     this.MigrationEndpointId = id;
     this.RawIdentity         = id.ToString();
 }