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(); }
public Identity(MigrationEndpointId id) : this(id.Id, id.ToString()) { }
public MigrationEndpointIdParameter(MigrationEndpointId id) { this.MigrationEndpointId = id; this.RawIdentity = id.ToString(); }