public static KeModel GetSampleModel() { if (_model != null) { return(_model); } _model = new KeModel(); _model.Schemas.Add(new KeSchema { Namespace = "Microsoft.Graph", DelaringModel = _model }); _model.Schemas.Add(new KeSchema { Namespace = "Test.Namespace", DelaringModel = _model }); return(_model); }
public KeEnumType(string namespaceName, string name, string underlyingTypeName, bool isFlags) : base(namespaceName, name) { UnderingType = KeModel.GetPrimitiveType(underlyingTypeName); IsFlag = isFlags; }