public ApplicationSchemaDefinition( string applicationName, string title, string schemaId, SchemaStereotype stereotype, SchemaMode?mode, ClientPlatform?platform, bool @abstract, List <IApplicationDisplayable> displayables, IDictionary <string, string> schemaProperties, ApplicationSchemaDefinition parentSchema, ApplicationSchemaDefinition printSchema, ApplicationCommandSchema commandSchema, string idFieldName, string unionSchema) { if (displayables == null) { throw new ArgumentNullException("displayables"); } ApplicationName = applicationName; Platform = platform; _displayables = displayables; ParentSchema = parentSchema; PrintSchema = printSchema; SchemaId = schemaId; Stereotype = stereotype; Abstract = @abstract; Mode = mode; CommandSchema = commandSchema; Title = title; _properties = schemaProperties; IdFieldName = idFieldName; UnionSchema = unionSchema; }
protected bool Equals(ApplicationSchemaDefinition other) { return(string.Equals(SchemaId, other.SchemaId) && Mode == other.Mode && string.Equals(ApplicationName, other.ApplicationName) && Platform == other.Platform); }