static Module() { __Filters _fltObj; _fltObj = new __Filters(); FilterTypeName = new TypeFilter(_fltObj.FilterTypeName); FilterTypeNameIgnoreCase = new TypeFilter(_fltObj.FilterTypeNameIgnoreCase); }
// Because the current compiler doesn't support static delegates // the _Filters object is an object that we create to contain all of // the filters. //private static final Type _filterClass = new RuntimeType(); static Type() { __Filters _filterClass = new __Filters(); FilterAttribute = new MemberFilter(_filterClass.FilterAttribute); FilterName = new MemberFilter(_filterClass.FilterName); FilterNameIgnoreCase = new MemberFilter(_filterClass.FilterIgnoreCase); }
static Type() { Type.Missing = System.Reflection.Missing.Value; Type.Delimiter = '.'; Type.EmptyTypes = new Type[0]; __Filters @object = new __Filters(); Type.FilterAttribute = new MemberFilter(@object.FilterAttribute); Type.FilterName = new MemberFilter(@object.FilterName); Type.FilterNameIgnoreCase = new MemberFilter(@object.FilterIgnoreCase); }