public static BuildDescription ( |
||
describerType | ||
return | PublicBroadcasting.Impl.TypeDescription |
static FieldsProtectedPrivateDescriber() { var promiseType = typeof(PromisedTypeDescription <,>).MakeGenericType(typeof(T), typeof(FieldsProtectedPrivateDescriber <>).MakeGenericType(typeof(T))); var promiseSingle = promiseType.GetField("Singleton"); FieldsProtectedPrivatePromise = (PromisedTypeDescription)promiseSingle.GetValue(null); var res = Describer.BuildDescription(typeof(FieldsProtectedPrivateDescriber <>).MakeGenericType(typeof(T))); FieldsProtectedPrivatePromise.Fulfil(res); FieldsProtectedPrivate = res; }
static AllPublicDescriber() { var promiseType = typeof(PromisedTypeDescription <,>).MakeGenericType(typeof(T), typeof(AllPublicDescriber <>).MakeGenericType(typeof(T))); var promiseSingle = promiseType.GetField("Singleton"); AllPublicPromise = (PromisedTypeDescription)promiseSingle.GetValue(null); var res = Describer.BuildDescription(typeof(AllPublicDescriber <>).MakeGenericType(typeof(T))); AllPublicPromise.Fulfil(res); AllPublic = res; }
static PropertiesProtectedInternalDescriber() { var promiseType = typeof(PromisedTypeDescription <,>).MakeGenericType(typeof(T), typeof(PropertiesProtectedInternalDescriber <>).MakeGenericType(typeof(T))); var promiseSingle = promiseType.GetField("Singleton"); PropertiesProtectedInternalPromise = (PromisedTypeDescription)promiseSingle.GetValue(null); var res = Describer.BuildDescription(typeof(PropertiesProtectedInternalDescriber <>).MakeGenericType(typeof(T))); PropertiesProtectedInternalPromise.Fulfil(res); PropertiesProtectedInternal = res; }
static AllProtectedDescriber() { var promiseType = typeof(PromisedTypeDescription <,>).MakeGenericType(typeof(T), typeof(AllProtectedDescriber <>).MakeGenericType(typeof(T))); var promiseSingle = promiseType.GetField("Singleton"); AllProtectedPromise = (PromisedTypeDescription)promiseSingle.GetValue(null); var allProtected = Describer.BuildDescription(typeof(AllProtectedDescriber <>).MakeGenericType(typeof(T))); AllProtectedPromise.Fulfil(allProtected); AllProtected = allProtected; }