IronRuby.Builtins.RubyModule.GetAutoloadedConstantPath C# (CSharp) Метод

GetAutoloadedConstantPath() публичный Метод

public GetAutoloadedConstantPath ( string name ) : MutableString
name string
Результат MutableString
        public MutableString GetAutoloadedConstantPath(string/*!*/ name) {
            using (Context.ClassHierarchyLocker()) {
                ConstantStorage storage;
                AutoloadedConstant autoloaded;
                return (TryGetConstantNoAutoloadCheck(name, out storage)
                    && (autoloaded = storage.Value as AutoloadedConstant) != null
                    && !autoloaded.Loaded) ?
                    autoloaded.Path : null;
            }
        }

Usage Example

Пример #1
0
 public static MutableString GetAutoloadedConstantPath(RubyModule/*!*/ self, [DefaultProtocol]string/*!*/ constantName) {
     return self.GetAutoloadedConstantPath(constantName);
 }
All Usage Examples Of IronRuby.Builtins.RubyModule::GetAutoloadedConstantPath
RubyModule